package com.youlai.boot.modules.accounts.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.modules.accounts.model.entity.AccountOwner;
import com.youlai.boot.modules.accounts.model.form.AccountOwnerForm;

/**
 * 账户归属人对象转换器
 *
 * @author lz0816
 * @since 2025-05-23 15:10
 */
@Mapper(componentModel = "spring")
public interface AccountOwnerConverter{

    AccountOwnerForm toForm(AccountOwner entity);

    AccountOwner toEntity(AccountOwnerForm formData);
}